<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&nbsp;boxphp后台管理系统</title>
<include file="Public/header" />
</head>


<body>

    
   
        <div class="list_vmall_man">
        	<div class="list_vmall_le">
            	
                <include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
            </div>
            <div class="list_vmall_rig">
            	<div class="list_vmall_bort">
              <form action="<{:U('upMsort')}>" method="post">
                	<table width="100%" border="1" cellspacing="1" cellpadding="1">
                      <tr>
       
						<td height="46"> 
						<a style="float:left; margin-left:10px;" href="<{:U('wmenuCreate')}>" class="v_mall_q"> 生成微信菜单</a>
						 
						<a style="float:left;" href="<{:U('wmenuAdd')}>" class="v_mall_q">添加菜单</a>
						</td>
                      </tr>
                    </table>
				     <table width="100%" class="v_am_bor_t v_am_td" border="1" cellspacing="1" cellpadding="1">
                      <tr class="v_am_bg_top" height="30">
                        <td height="34" align="center" valign="middle" class="v_am_font">ID</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">菜单名</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">链接地址或事件Key</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">菜单类型</td>
					    <td height="34" align="center" valign="middle" class="v_am_font">状态</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">排序</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">录入时间</td>
                        <td height="34" align="center" valign="middle" class="v_am_font" style="border-right:0;">操作</td>
                      </tr>
                      <volist name="data" id="vo">
                      <tr > 
                        <td height="36" align="center" valign="middle"><{$vo.id}></td>
                        <td height="36" align="" valign="middle"> <{$vo.showname}></td>
                        <td height="36" align="center" valign="middle"><{$vo.url}></td>
						<td height="34" align="center" valign="middle" class="v_am_font"><{$vo.type}></td>
                        <td height="36" align="center" valign="middle"><{$vo['status']==1 ? '不显示' : '显示'}></td>
                        
                        <td height="36" align="center" valign="middle"><input type="text" size="5"  key="id"  onblur="UpSort(this)"   model="wechat_menu" key_value="<{$vo.id}>" value="<{$vo.sort_order}>" /></td>
                        <td height="36" align="center" valign="middle"><{$vo.created|date='Y-m-d H:i', ###}></td>
                        <td style="border-right:0;"  height="36" align="center" valign="middle">	
                            <a href="<{:U('wmenuAdd',array('id'=>$vo['id']))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;编辑</a> 
                            <a onclick="return confirm('确认需要删除些信息吗？');"  href="<{:U('wmenuDel',array('id'=>$vo['id']))}>" class="btn"><i class="v_mall_tubg v_mall_tj3"></i>&nbsp;删除</a>
                        </td>
                      </tr>
                     </volist>

                    </table>

                    </form>
                </div>
				<p style="padding:20px 0px ; line-height:25px;">目前自定义菜单最多包括3个一级菜单，每个一级菜单最多包含5个二级菜单。一级菜单最多4个汉字，二级菜单最多7个汉字，多出来的部分将会以“...”代替。请注意，创建自定义菜单后，由于微信客户端缓存，需要24小时微信客户端才会展现出来。建议测试时可以尝试取消关注公众账号后再次关注，则可以看到创建后的效果。</p>
            </div>
        </div>
        
  
</body>
</html>
